/**
 * @author yxw
 * date : 2014年2月27日 下午7:49:29 
 */
package com.tzinfo.tzb.domain;

import java.util.List;

public class NotificationList {
	private boolean success;
	private String msg;
	private List<NotificationData> data;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public List<NotificationData> getData() {
		return data;
	}

	public void setData(List<NotificationData> data) {
		this.data = data;
	}

	public static class NotificationData {
		private String note;
		private int from_id;
		private String from_Title;
		private String type;
		private String dateline;
		private UserInfo userinfo;

		public String getNote() {
			return note;
		}

		public void setNote(String note) {
			this.note = note;
		}

		public int getFrom_id() {
			return from_id;
		}

		public void setFrom_id(int from_id) {
			this.from_id = from_id;
		}

		public String getFrom_Title() {
			return from_Title;
		}

		public void setFrom_Title(String from_Title) {
			this.from_Title = from_Title;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		public String getDateline() {
			return dateline;
		}

		public void setDateline(String dateline) {
			this.dateline = dateline;
		}

		public UserInfo getUserinfo() {
			return userinfo;
		}

		public void setUserinfo(UserInfo userinfo) {
			this.userinfo = userinfo;
		}

		public static class UserInfo {
			private int uid;
			private String username;
			private String netname;
			private String userstate;
			private String bbbirthday;
			private String bbsex;
			private int credits;
			private String regdate;
			private String avatar;

			public int getUid() {
				return uid;
			}

			public void setUid(int uid) {
				this.uid = uid;
			}

			public String getUsername() {
				return username;
			}

			public void setUsername(String username) {
				this.username = username;
			}

			public String getNetname() {
				return netname;
			}

			public void setNetname(String netname) {
				this.netname = netname;
			}

			public String getUserstate() {
				return userstate;
			}

			public void setUserstate(String userstate) {
				this.userstate = userstate;
			}

			public String getBbbirthday() {
				return bbbirthday;
			}

			public void setBbbirthday(String bbbirthday) {
				this.bbbirthday = bbbirthday;
			}

			public String getBbsex() {
				return bbsex;
			}

			public void setBbsex(String bbsex) {
				this.bbsex = bbsex;
			}

			public int getCredits() {
				return credits;
			}

			public void setCredits(int credits) {
				this.credits = credits;
			}

			public String getRegdate() {
				return regdate;
			}

			public void setRegdate(String regdate) {
				this.regdate = regdate;
			}

			public String getAvatar() {
				return avatar;
			}

			public void setAvatar(String avatar) {
				this.avatar = avatar;
			}

			@Override
			public String toString() {
				return "UserInfo [uid=" + uid + ", username=" + username
						+ ", netname=" + netname + ", userstate=" + userstate
						+ ", bbbirthday=" + bbbirthday + ", bbsex=" + bbsex
						+ ", credits=" + credits + ", regdate=" + regdate
						+ ", avatar=" + avatar + "]";
			}

		}

		@Override
		public String toString() {
			return "NotificationData [note=" + note + ", from_id=" + from_id
					+ ", type=" + type + ", dateline=" + dateline
					+ ", userinfo=" + userinfo + "]";
		}

	}

	@Override
	public String toString() {
		return "NotificationList [success=" + success + ", msg=" + msg
				+ ", data=" + data + "]";
	}

}
